package com.kl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("waybill")
@ApiModel(value="Waybill对象", description="")
public class Waybill implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "运单主键ID")
    private Long waybillId;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "物品名称")
    private String cargoName;

    @ApiModelProperty(value = "物品重量")
    private Double cargoWeight;

    @ApiModelProperty(value = "货物体积")
    private Double cargoVolume;

    @ApiModelProperty(value = "货物件数")
    private Long cargoNumber;

    @ApiModelProperty(value = "货物保价(1.正常赔付;2.即日赔付)")
    private Integer cargoInsurance;

    @ApiModelProperty(value = "退款(0未退,1已退)")
    private String collectionAgent;

    @ApiModelProperty(value = "签收单")
    private String waybillReceipt;

    @ApiModelProperty(value = "是否上门(1.是;2.否)")
    private String upDoor;

    @ApiModelProperty(value = "收货人名称")
    private String consigneeName;

    @ApiModelProperty(value = "收货人电话")
    private String consigneePhone;

    @ApiModelProperty(value = "收货人所在省")
    private String consigneeProvince;

    @ApiModelProperty(value = "收货人所在市")
    private String consigneeCity;

    @ApiModelProperty(value = "收货人所在区(县)")
    private String consigneeCountry;

    @ApiModelProperty(value = "收货人详情地址")
    private String consigneeAddress;

    @ApiModelProperty(value = "送货方式(精准卡航,精准汽运)")
    private Integer deliveryMethod;

    @ApiModelProperty(value = "订单状态(0,已撤销;1,待揽件;2,已揽件;3,运输中;4,待派送;5,已签收;6,已损坏;7,已丢失)")
    private String logisticsStatus;

    @ApiModelProperty(value = "下单日期")
    private Date creatTime;

    @ApiModelProperty(value = "运单更新时间")
    private Date changeTime;

    @ApiModelProperty(value = "当前运单所在那个站点")
    private Long currentSite;

    @ApiModelProperty(value = "线路id")
    private Long lineWaybill;

    @ApiModelProperty(value = "下一站城市")
    private String nextLine;

    @ApiModelProperty(value = "明细表id")
    private Long detailedId;

    @ApiModelProperty(value = "入库时间")
    private Date warehouseEntryTime;

    @ApiModelProperty(value = "更新信息")
    private String updateInformation;


}
